Northwoods.GoSilverlight 1.3.5 Assembly
DoMemberNodeKeyRemoved Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : DoMemberNodeKeyRemoved Method

nodedata
the modified node data
memberkey
the key for the removed "member" node data
This should be called when a "member" node data key has been removed from the collection of "member" node keys.

Syntax

Visual Basic (Declaration) 
Public Sub DoMemberNodeKeyRemoved( _
   ByVal nodedata As NodeType, _
   ByVal memberkey As NodeKey _
) 
C# 
public void DoMemberNodeKeyRemoved( 
   NodeType nodedata,
   NodeKey memberkey
)

Parameters

nodedata
the modified node data
memberkey
the key for the removed "member" node data

Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the list of "member" keys implements System.Collections.Specialized.INotifyCollectionChanged the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindMemberNodeKeysForNode has changed.

This raises a Changed event with a value of ModelChange.RemovedMemberNodeKey.

Requirements

See Also

© 2012 All Rights Reserved.